package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.pojo.Dish;

/**
 * Created by ZhaoJun on 2021/11/24 12:04
 */
public interface DishService extends IService<Dish> {
    void saveWtihFlavor(DishDto dishDto);
    DishDto getByIdWithFlavor(Long id);
    void updateWithFlavor(DishDto dishDto);
    void delByIdsWithFlavors(Long[] ids);

    void status(Integer status, Long[] ids);
}
